package com.shop.pojo;

public class Classifies {
    private int fid;
    private String fname;
    private int fatherId;
    private String pname;

    public Classifies(){}
    public Classifies(int fid, String fname, int fatherId, String pname) {
        this.fid = fid;
        this.fname = fname;
        this.fatherId = fatherId;
        this.pname = pname;
    }

    public int getFid() {
        return fid;
    }

    public void setFid(int fid) {
        this.fid = fid;
    }

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public int getFatherId() {
        return fatherId;
    }

    public void setFatherId(int fatherId) {
        this.fatherId = fatherId;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    @Override
    public String toString() {
        return "Classifies{" +
                "fid=" + fid +
                ", fname='" + fname + '\'' +
                ", fatherId=" + fatherId +
                ", pname='" + pname + '\'' +
                '}';
    }
}
